﻿#region References

using System.Collections.Generic;
using System.ServiceModel;
using DataAccessLayer.EntityDataModel;

#endregion

namespace DataService
{
    [ServiceContract]
    public interface IDataService
    {
        [OperationContract]
        List<Company> GetDataFromLocalStorage();

        [OperationContract]
        void SubmitChangesToLocalStorage(List<Company> dataList);

        [OperationContract]
        List<Company> GetDataFromRemoteStorage();

        [OperationContract]
        void SubmitChangesToRemoteStorage(List<Company> dataList);

        [OperationContract]
        void Synchronize();
    }
    
}
